package com.triones.api.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 邀请记录
 */
@TableName(value = "tr_invite_record")
@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class InviteRecordDO {
    /**
     * id
     */
    @TableId(value = "id")
    private Long id;
    /**
     * uid
     */
    private Long uid;
    /**
     * 接受者id
     */
    private Long accept;
    /**
     * 创建时间
     */
    private Long createTime;
    /**
     * 该用户是否算有效（0：无效、1：有效）
     */
    private String isEffective;
    /**
     * 累计交易
     */
    private String tradeTotal;
}
